import { configureStore } from '@reduxjs/toolkit'

import loginReducer from './slice/login'
import profileReducer from './slice/profile'
import homeReducer from './slice/home'

// 创建 store
const store = configureStore({
  reducer: {
    login: loginReducer,
    profile: profileReducer,
    home: homeReducer
  }
})

export default store